<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/views/commons/taglib.jsp"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<jsp:include page="/WEB-INF/views/commons/lib.jsp" />	
<script type="text/javascript" src="${ctxStatic }/module/alert/form.js">
		
	</script>
</head>
<body>
	<div class="widget-box">
		<div class="widget-header header-color-blue">
			<span>内容详情</span>
			<button class="btn btn-primary btn-sm btn-save pull-right"><i class='icon-save bigger-150'></i>保存</button>
		</div>
		<div class="widget-body panel-body">
			<form:form id="inputForm" modelAttribute="alert" method="post"
				class="form-horizontal">
				<form:hidden path="id" />


				<div class="form-group">
					<label class="col-sm-3 control-label">标题:</label>
					<div class="col-sm-7">
						<form:input path="title" htmlEscape="false" maxlength="50"
							class="form-control required" />
					</div>
				</div>
				<div class="form-group">
					<label class="col-sm-3 control-label">描述:</label>
					<div class="col-sm-7">
						<form:input path="description" htmlEscape="false" maxlength="500"
							class="form-control required" />
					</div>
				</div>
				<div class="form-group">
					<label class="col-sm-3 control-label">类型:</label>
					<div class="col-sm-7">
						<form:input path="type" htmlEscape="false"
							class="form-control" />
					</div>
				</div>
				<div class="form-group">
					<label class="col-sm-3 control-label">地址:</label>
					<div class="col-sm-7">
						<%-- <form:input path="address" htmlEscape="false"
							class="form-control" /> --%>
							<sys:maplayer addressName="address" id="alert" locationName="location" addressValue="华中师范大学" title="请进行定位" locationValue=""></sys:maplayer>
					</div>
				</div>
				
				<div class="form-group">
					<label class="col-sm-3 control-label">图片:</label>
					<div class="col-sm-7">
						<form:input path="imgs" htmlEscape="false"
							class="form-control" />
					</div>
				</div>
				
				<div class="form-group">
					<label class="col-sm-3 control-label">语音:</label>
					<div class="col-sm-7">
						<form:input path="voices" htmlEscape="false"
							class="form-control" />
					</div>
				</div>
				
				<div class="form-group">
					<label class="col-sm-3 control-label">视频:</label>
					<div class="col-sm-7">
						<form:input path="videos" htmlEscape="false"
							class="form-control" />
					</div>
				</div>
			</form:form>
		</div>

	</div>

</body>
</html>
